const TokenKey = 'App-Token'
const openId = 'openId'

export function getToken() {
  return uni.getStorageSync(TokenKey)
}

export function setToken(token) {
  return uni.setStorageSync(TokenKey, token)
}

export function removeToken() {
  return uni.removeStorageSync(TokenKey)
}


export function getOpenId() {
  return uni.getStorageSync(openId)
}

export function setOpenId(token) {
  return uni.setStorageSync(openId, token)
}

export function removeOpenId() {
  return uni.removeStorageSync(openId)
}
